pact_matching 2.0.3

Pact-Rust support library that implements request and response matching logic
Documentation
{
  "match": true,
  "comment": "Headers match with regexp",
  "expected" : {
    "method": "POST",
    "path": "/path",
    "headers": {
      "Accept": "alligators",
      "Content-Type": "hippos"
    },
    "matchingRules": {
      "$.headers.Accept": {"match": "regex", "regex": "\\w+"}
    }
  },
  "actual": {
    "method": "POST",
    "path": "/path",
    "headers": {
      "Content-Type": "hippos",
      "Accept": "crocodiles"
    }
  }
}